from rest_framework import serializers
from app01.models import User, Course, Category

class UserSer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = "__all__"

class CategorySer(serializers.ModelSerializer):
    class Meta:
        model = Category
        fields = "__all__"

class CourseSer(serializers.ModelSerializer):
    class Meta:
        model = Course
        fields = "__all__"